//
//  ListBarSV.h
//  SeseNews
//
//  Created by lanou3g on 15/7/20.
//  Copyright (c) 2015年 Sese工作室. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^ArrowBlock)();
typedef void(^DataArray)(NSMutableArray *);

@interface ListBarSV : UIScrollView

//定义blok，箭头的旋转改变
@property(nonatomic,copy)ArrowBlock arrowChange;

//返回清单上的点击的哪一个button
@property (nonatomic,copy) void(^listBarItemClickBlock)(NSString *itemName , NSInteger itemIndex);

//可见的元素列表数组
@property (nonatomic,strong) NSMutableArray *visibleItemList;

@property(nonatomic,copy)DataArray dataArray;

/**
 *  Description
 *
 *  @param type     选择动画效果
 *  @param itemName 造作元素的名字
 *  @param index    第几个
 */
-(void)operationFromBlock:(animateType)type itemName:(NSString *)itemName index:(int)index;
//点击的第几个
-(void)itemClickByScrollerWithIndex:(NSInteger)index;


@end
